/**
 * 
 * @author phoenics@126.com
 * @version v.0.1
 * @date  2017年9月24日 下午9:52:35 
 */
package phoenics.takeweb.entity;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Field;
import org.springframework.data.mongodb.core.mapping.Document;


/**
 *
 */
@Document(collection="news")
public class NewsPage {
	// private static org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(NewsbPage.class);
	@Id
    private String id;
	@Field
	private String name;
	public String getId() {
		return id;
	}
	
	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
}
